import { createApp } from 'vue'
import App from './App.vue'
// 解决 unplugin-auto-import 引入后 eslint报错问题
import 'vue-global-api'
// style设置
import 'virtual:windi.css'
import 'virtual:svg-icons-register';
import './assets/styles/global.scss'

const app = createApp(App)
const modules = import.meta.globEager('./modules/*.ts')
Object.values(modules).map((v) => {
  return v.default?.(app)
})
app.mount('#app')
